<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>JS</title>
		<link rel="stylesheet" href="../css/index.css" />
	</head>
	<body>
		写作业
	</body>
	<script type="text/javascript">
		var arr = new Array(2);
		arr[0] = '快点我';
		arr[1] = '再点我';
		
		for(var i=0;i<=10;i++)
		{
			alert(arr[i%2])
		}
		
	</script>
</html>
